Total Complexity | 22 |
Dependencies | 10 |
Dependents | 2 |
Total lines | 258 |
Lines of code | 119 |
Logical lines of code | 65 |
Comment lines | 93 |
Methods | 7 |
Properties | 4 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
getById() | 47 | 8 | 35 | |
prepareWPQuery() | 46 | 5 | 38 | |
count() | 59 | 3 | 14 | |
get() | 62 | 2 | 12 | |
paginate() | 64 | 2 | 9 | |
__construct() | 71 | 1 | 6 | |
countVotes() | 72 | 1 | 5 |